package org.dromara.apartment.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.apartment.domain.LabelInfo;
import org.dromara.apartment.domain.vo.LabelInfoVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 标签信息Mapper接口
 *
 * @author CKJ
 * @date 2025-06-13
 */
public interface LabelInfoMapper extends BaseMapperPlus<LabelInfo, LabelInfoVo> {

    /**
     * 查询公寓标签列表 根据id
     * @param id
     * @return
     */
    List<LabelInfoVo> selectListByApartmentId(@Param("id") Long id);

    /**
     * 查询房间标签列表 根据id
     * @param id
     * @return
     */
    List<LabelInfoVo> selectListByRoomId(@Param("id") Long id);

}
